package com.yiren.backstage.currency.bean;

import java.io.Serializable;

/**
 * 类描述：差分坐标点位
 */
public class PointBean implements Cloneable, Serializable {

    public float x;     //东
    public float y;     //北
    public float z;     //天
    private double lon;  //经度
    private double lat;  //纬度
    private double high; //高度

    public float getX() {
        return x;
    }

    public void setX(float x) {
        this.x = x;
    }

    public float getY() {
        return y;
    }

    public void setY(float y) {
        this.y = y;
    }

    public float getZ() {
        return z;
    }

    public void setZ(float z) {
        this.z = z;
    }

    public double getLon() {
        return lon;
    }

    public void setLon(double lon) {
        this.lon = lon;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public double getHigh() {
        return high;
    }

    public void setHigh(double high) {
        this.high = high;
    }

    public PointBean() {
        setPoint(0, 0);
    }

    public PointBean(float x, float y) {
        setPoint(x, y);
    }

    public void setPoint(float x, float y) {
        this.x = x;
        this.y = y;
    }

    public void setPointJW(double lon, double lat) {
        this.lon = lon;
        this.lat = lat;
    }

    public void setPoint(PointBean other) {
        this.x = other.getX();
        this.y = other.getY();
    }

    @Override
    public Object clone() throws CloneNotSupportedException {
        Object object = super.clone();
        return object;
    }


}
